<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改用户</title>
</head>
<body>
<h1>修改用户</h1>
<hr>

<form th:action="@{/user/update}">
    编号：<input type="text" name="id" th:value="${user.id}" disabled><br>
    <input type="hidden" name="id" th:value="${user.id}" >
    性名：<input type="text" name="username" th:value="${user.username}" /><br>
    密码：<input type="password" name="password" th:value="${user.password}" /><br>
    权限：<input type="text" name="perms" th:value="${user.perms}" /><br>
    <input type="submit">
</form>

</body>
</html>